#ifndef KLT_H

#define KLT_H

//GOOD FEATURES TO TRACK
#define DISTANCE 5.0
#define QUALITY 0.10
#define BLOCK_SIZE 3
#define USE_HARRIS 0
#define HARRIS_K 0.4


//KL TRACKER

#define WIN_SIZE 10
#define LEVEL 5

#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <cv.h>
#include <cxcore.h>
#include <highgui.h>


bool startKLT(IplImage *image_bin, CvRect rect, int *cont_feature, CvPoint2D32f *features);

void kltTracking (IplImage *last, IplImage *current, CvPoint2D32f* old_features, CvPoint2D32f* new_features,
									int cont_features, char *status);

#endif